3.3135 \(\int \frac{(a+b x)^m (c+d x)^n}{e+f x} \, dx\)

Optimal. Leaf size=100 \[ \frac{(a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)} \]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 + m, -n, 1, 2 + m, -((d*(a + b*x))/(b*
c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/((b*e - a*f)*(1 + m)*((b*(c + d*x))/(b
*c - a*d))^n)

_______________________________________________________________________________________

Rubi [A]  time = 0.165327, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{(a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (m+1;-n,1;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)} \]

Antiderivative was successfully verified.

[In]  Int[((a + b*x)^m*(c + d*x)^n)/(e + f*x),x]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 + m, -n, 1, 2 + m, -((d*(a + b*x))/(b*
c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/((b*e - a*f)*(1 + m)*((b*(c + d*x))/(b
*c - a*d))^n)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 24.2416, size = 75, normalized size = 0.75 \[ - \frac{\left (\frac{b \left (- c - d x\right )}{a d - b c}\right )^{- n} \left (a + b x\right )^{m + 1} \left (c + d x\right )^{n} \operatorname{appellf_{1}}{\left (m + 1,1,- n,m + 2,\frac{f \left (a + b x\right )}{a f - b e},\frac{d \left (a + b x\right )}{a d - b c} \right )}}{\left (m + 1\right ) \left (a f - b e\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**m*(d*x+c)**n/(f*x+e),x)

[Out]

-(b*(-c - d*x)/(a*d - b*c))**(-n)*(a + b*x)**(m + 1)*(c + d*x)**n*appellf1(m + 1
, 1, -n, m + 2, f*(a + b*x)/(a*f - b*e), d*(a + b*x)/(a*d - b*c))/((m + 1)*(a*f
- b*e))

_______________________________________________________________________________________

Mathematica [B]  time = 0.979739, size = 298, normalized size = 2.98 \[ -\frac{(m+2) (b c-a d) (b e-a f)^2 (a+b x)^{m+1} (c+d x)^n F_1\left (m+1;-n,1;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{b (m+1) (e+f x) (a f-b e) \left ((m+2) (b c-a d) (b e-a f) F_1\left (m+1;-n,1;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )-(a+b x) \left (d n (a f-b e) F_1\left (m+2;1-n,1;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )+f (b c-a d) F_1\left (m+2;-n,2;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[((a + b*x)^m*(c + d*x)^n)/(e + f*x),x]

[Out]

-(((b*c - a*d)*(b*e - a*f)^2*(2 + m)*(a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 +
m, -n, 1, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)])/(b
*(-(b*e) + a*f)*(1 + m)*(e + f*x)*((b*c - a*d)*(b*e - a*f)*(2 + m)*AppellF1[1 +
m, -n, 1, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)] - (
a + b*x)*(d*(-(b*e) + a*f)*n*AppellF1[2 + m, 1 - n, 1, 3 + m, (d*(a + b*x))/(-(b
*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)] + (b*c - a*d)*f*AppellF1[2 + m, -n, 2,
 3 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)]))))

_______________________________________________________________________________________

Maple [F]  time = 0.094, size = 0, normalized size = 0. \[ \int{\frac{ \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{n}}{fx+e}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^m*(d*x+c)^n/(f*x+e),x)

[Out]

int((b*x+a)^m*(d*x+c)^n/(f*x+e),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{f x + e}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n/(f*x + e),x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^n/(f*x + e), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{f x + e}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n/(f*x + e),x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^n/(f*x + e), x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**m*(d*x+c)**n/(f*x+e),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{f x + e}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^n/(f*x + e),x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^n/(f*x + e), x)